﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Umi.Crypto.Abstraction.HashAlgo
{
    /// <summary>
    /// 获取Hash算法的抽象工厂
    /// </summary>
    public interface IHashFactory
    {
        /// <summary>
        /// 获取Hash函数
        /// </summary>
        /// <param name="hashType">哈希类型</param>
        /// <returns></returns>
        IHashService GetHash(string hashType);
    }
}
